package com.example.xpvideo.entity;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 秒杀记录表(LsSearchRecord)实体类
 *
 * @author 
 * @since 2021-09-18 16:09:17
 */
@ApiModel("秒杀记录表")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LsSearchRecord implements Serializable {
    private static final long serialVersionUID = 290465458792744677L;
        /**
    *主键
    * ${column.comment}
    * isnull 1
    */
    @ApiModelProperty(value="$column.comment",position=1)
    private Integer id;

    /**
    * 用户id
    * isnull 0
    */        @ApiModelProperty(value="用户id",position=2)
    private Integer userId;
    /**
    * 关键字
    * isnull 0
    */        @ApiModelProperty(value="关键字",position=3)
    private String keyword;
    /**
    * 更新时间
    * isnull 0
    */        @ApiModelProperty(value="更新时间",position=4)
    private Integer updateTime;
    /**
    * 次数
    * isnull 0
    */        @ApiModelProperty(value="次数",position=5)
    private Integer count;
    /**
    * 是否已删除,0-未删除,1-已删除
    * isnull 0
    */        @ApiModelProperty(value="是否已删除,0-未删除,1-已删除",position=6)
    private Object del;
        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
        
    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }
        
    public Integer getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
    }
        
    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
        
    public Object getDel() {
        return del;
    }

    public void setDel(Object del) {
        this.del = del;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"id\":" + id +
                                  " ,\"userId\":" + userId +
                            " ,\"keyword\":" + keyword +
                            " ,\"updateTime\":" + updateTime +
                            " ,\"count\":" + count +
                            " ,\"del\":" + del +
                  '}';
    }


}
